The Dreamweaver JavaScript API > External application functions > dreamweaver.getExtensionEditorList() |
![]() ![]() ![]() |
dreamweaver.getExtensionEditorList()
Availability
Dreamweaver 3.0
Description
Gets a list of editors for the specified file from the External Editors preferences.
Arguments
fileURL
fileURL
can be a complete file:// URL, a file name, or a file extension (including the period).
Returns
An array containing a pair of strings for each editor in the list. The first string in each pair is the name of the editor, and the second string is its location on the user's machine, expressed as a file:// URL. If no editors appear in the preferences, the function returns an array of one empty string.
Enabler
None.
Example
A call to dw.getExtensionEditorList(".gif")
might return an array containing the following strings:
![]() |
"Fireworks 3" |
![]() |
"file:///C|/Program Files/Macromedia/Fireworks 3/Fireworks 3.exe" |
![]() ![]() ![]() |